#ifndef EARTH3DVIEW_H
#define EARTH3DVIEW_H

#include <amk3/OsgGraphicView.h>


class Earth3DView : public OsgGraphicView
{
    Q_OBJECT
public:

    Earth3DView();

    // OsgGraphicView interface
public:
    void init();
    virtual void render();

signals:
    //void closeChildMenu();
    //void signalCloseAnnoInfo();
    //void singlInted();//环境准备完成
    ////当前显示的AQI时间变化
    //void signalAQITimeChanged(QString);
    ////void signalCityRanking();
    ////void signalShowAnnoInfo();
    ////void signalShowPsInfo();

public slots:
    void slotStereo();
    void slotGotoHenan();
    void slotGotoHome();
    void slotSceneInited();

    void registerQMLProperty(const QString & name, const QVariant& value);
protected:
    bool _stereo;


    virtual void mousePressEvent(QMouseEvent *);
    virtual void mouseReleaseEvent(QMouseEvent *);
    virtual void mouseDoubleClickEvent(QMouseEvent *);
    virtual void mouseMoveEvent(QMouseEvent *);
    //virtual void wheelEvent(QWheelEvent *);
    virtual void keyPressEvent(QKeyEvent *);

};



#endif // EARTH3DVIEW_H
